<?php
$back=$_REQUEST["back"];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="format-detection" content="telephone=no" />
<title>用户登陆</title>
<link rel="stylesheet" type="text/css" href="../css/login.css">
<script type="text/javascript" src="../js/clientwidth.js"></script>
<style type="text/css">
<!--
html,body{width:100%;height:100%;overflow:hidden;}
-->
</style>
</head>

<body>
<div id="loginbox">
	<div class="loginbg">
		<div class="login_logo"><img src="../images/logo.png" /></div>
	</div>
	<div class="login_padding">
	<a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc932d20884c7855b&redirect_uri=http%3A%2F%2Fdx.wycn.com%2Fuser%2Fuserinfo.php&response_type=code&scope=snsapi_userinfo&state=<?php echo $back;?>&connect_redirect=1#wechat_redirect"><div class="login_btn">微信用户快速登陆</div></a>	</div>
	<div class="login_sms"><a href="loginbysms.php">输入手机号登陆/注册</a></div>
	<div class="login_msg">点击登陆，即表示已阅读并同意<a href="tiaokuan.php">《订戏会服务条款》</a></div>
</div>
<script>
if (document.body.clientWidth > 500) {
	$('#loginbox').css({
		width: 500,
		margin: '0 auto',
	});
}
$('#loginbox').css({
	height:document.body.clientHeight,
});
</script>
</body>
</html>